from yysautomatic.core.component import Label, Button
from yysautomatic.core.frame import Frame
from yysautomatic.log import get_logger
from . import images

logger = get_logger(__name__)
TITLE = '阴阳师-网易游戏'


class YysFrame(Frame):
    """
    窗口
    """

    def __init__(self, win_id):
        super().__init__(win_id, TITLE)
        self.button_tiaozhan = Button(self, images.TIAO_ZHAN)
        self.label_jiesuan1 = Label(self, images.JIE_SUAN1)
        self.label_jiesuan2 = Label(self, images.JIE_SUAN2)
        self.label_jiesuan3 = Label(self, images.JIE_SUAN3)
        self.label_jiesuan4 = Label(self, images.JIE_SUAN4)
